package cc.yaomm.service.basic.controller.business.user.vo;

import cc.yaomm.common.basic.enums.AuthLevelEnum;
import cc.yaomm.common.basic.lang.vo.BaseResultVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * Created by XQL on 2021/6/10.
 */
@Data
@ApiModel
public class ResourceResultVO extends BaseResultVO {

    @ApiModelProperty("资源编码")
    private String code;

    @ApiModelProperty("资源名")
    private String name;

    @ApiModelProperty("请求方式")
    private String method;

    @ApiModelProperty("资源路径")
    private String url;

    @ApiModelProperty("鉴权级别 OPEN-开放，无权限 LOGIN-登录 AUTH-鉴权")
    private AuthLevelEnum authLevel;

    @ApiModelProperty("所属服务")
    private String ownerServe;

    @ApiModelProperty("所属应用")
    private String ownerApp;

    @ApiModelProperty("更新时间")
    private Date updateTime;

}
